package com.igeekhome.service;

import com.igeekhome.dto.SectionDestDto;
import com.igeekhome.pojo.DSpotDestination;
import com.igeekhome.util.ResultBean;
import com.igeekhome.util.TableResultBean;

import java.util.List;

/**
 * @author Romeo
 */
public interface IDestService {
    TableResultBean list(Integer nid, String name, Integer id, Integer page, Integer limit);
    ResultBean add(DSpotDestination dSpotDestination, Integer staffId, Integer networkId, String province, String city, String area, String address);
    ResultBean edit(DSpotDestination dSpotDestination, String province, String city, String area, String address);
    ResultBean delete(String idsStr);
    List<DSpotDestination> toShow();

    /**
     * 获取目的区间数据
     */
    List<DSpotDestination> getlist();

    List<SectionDestDto> selectDestInIds(String strId);

}
